package com.pubinfo.passbook;

import lombok.SneakyThrows;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.ImportResource;

import java.util.TimeZone;

//@DubboComponentScan("com.pubinfo.passbook.mdm.*")
@MapperScan("com.pubinfo.passbook.common.mapper")
@SpringBootApplication
@ImportResource({"classpath:dubbo.xml"})
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class MdmServiceApplication {
  @SneakyThrows
  public static void main(String[] args) {
    TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
    SpringApplication.run(MdmServiceApplication.class, args);
  
  }
}
